﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exam.infranstuctrue.Dto.other
{
    public class ResponseAdminDto
    {
        /// <summary>
        /// id
        /// </summary>
        public string? id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? name { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string? account { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string? createTime { get; set; }
        /// <summary>
        /// 是否禁用 1 已启用 0 未禁用
        /// </summary>
        public int? isBan { get; set; }
        /// <summary>
        /// 是否发布 1 已发布 0 未发布
        /// </summary>
        public int? isActive { get; set; }

        /// <summary>
        /// 是否是负责人 1 = 是 0 = 不是
        /// </summary>
        public int? isFZR { get; set; }

        /// <summary>
        ///     组织ids
        /// </summary>
        public List<string>? Oids { get; set; }

        /// <summary>
        ///     职务ids
        /// </summary>
        public List<string>? Jids { get; set; }

        /// <summary>
        /// 组织职务
        /// </summary>
        public List<ResponseOrganizationJobDto>? OrganizationJobs { get; set; }


        /// <summary>
        /// 是否可以试负责人
        /// </summary>
        public int? IsOk { get; set; }
    }

    /// <summary>
    /// 员工职务组织 名称
    /// </summary>
    public class ResponseOrganizationJobDto
    {
        public string? Oid { get; set; }
        public string? Oname { get; set; }
        public string? Jid { get; set; }
        public string? Jname { get; set; }
    }


}
